<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 
 * @property int $main_uid 
 * @property string $corp_id 
 * @property string $corp_name 
 * @property string $nickname 
 * @property string $alias 
 * @property string $acctid 
 * @property string $real_name 
 * @property string $avatar_url 
 * @property string $user_id 
 * @property string $group_id 
 * @property int $gender 
 * @property string $mobile 
 * @property string $internation_code 
 * @property string $job 
 * @property string $email 
 * @property int $status 
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class ChEmployee extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_employee';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'main_uid', 'corp_id', 'corp_name', 'nickname', 'alias', 'acctid', 'real_name', 'avatar_url', 'user_id', 'group_id', 'gender', 'mobile', 'internation_code', 'job', 'email', 'status', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'main_uid' => 'integer', 'gender' => 'integer', 'status' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
